package entity;

import lombok.Data;

import java.util.List;

@Data
public class PerFirstChild {
    private int firstChildID_Parent;

    public int getPlevel() {
        return Plevel;
    }

    public void setPlevel(int plevel) {
        Plevel = plevel;
    }

    private String Pname;
    private int Plevel;
    private int secondChildID;
    private List<PerSecondChild> children;

    public List<PerSecondChild> getSecondChild() {
        return children;
    }

    public void setSecondChild(List<PerSecondChild> secondChild) {
        this.children = secondChild;
    }

    public int getFirstChildID_Parent() {
        return firstChildID_Parent;
    }

    public void setFirstChildID_Parent(int firstChildID_Parent) {
        this.firstChildID_Parent = firstChildID_Parent;
    }

    public String getFirstChildPname() {
        return Pname;
    }

    public void setFirstChildPname(String firstChildPname) {
        this.Pname = firstChildPname;
    }

    public int getSecondChildID() {
        return secondChildID;
    }

    public void setSecondChildID(int secondChildID) {
        this.secondChildID = secondChildID;
    }
}
